package com.example.sources.jdbc.proxy;

/**
 * Created by Administrator on 2016/9/18.
 */
public class DynamicDaoProxy extends DynamicProxy{
    public static <T> T newProxyInstance(Class<?> c){
        DaoInvocationHandlerImpl daoInvoc = new DaoInvocationHandlerImpl();
        return newProxyInstance(c.getClassLoader(),c.getInterfaces(),daoInvoc);
    }
}
